﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CriarRelatorio.aspx.cs" Inherits="ProjectoPV_ESW.Account.Relatorio.CriarRelatorio" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div align=center style="font-size: medium; font-weight: bold; color: #660033">
    <h1>CRIAçÃO de Relatórios</h1>
    <h3>Escolha a Criança:</h3>
        <br />
    &nbsp;
    <asp:DropDownList ID="DropDownList1" runat="server" Height="25px" Width="250px" 
        DataSourceID="SqlDataSource1" DataTextField="Nome" 
        DataValueField="CriancaId" >
    </asp:DropDownList>
    <br />
    <br />
    <h3>Escolha o dia:</h3>
    <br />
    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
        BorderColor="White" BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" 
        ForeColor="Black" Height="300px" NextPrevFormat="FullMonth" Width="500px" 
        onselectionchanged="Calendar1_SelectionChanged">
        <DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
        <NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" 
            VerticalAlign="Bottom" />
        <OtherMonthDayStyle ForeColor="#999999" />
        <SelectedDayStyle BackColor="#333399" ForeColor="White" />
        <TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px" 
            Font-Bold="True" Font-Size="12pt" ForeColor="#333399" />
        <TodayDayStyle BackColor="#CCCCCC" />
    </asp:Calendar>
        <br />
    <br />
    <h3>Escreva o Relatório:</h3><br />
    <br />
    <asp:TextBox ID="TextBox1" runat="server" Height="350px" Width="550px" 
        Rows="15" TextMode="MultiLine" 
></asp:TextBox>
        <br />
    <br />
    <asp:Button ID="ButtonAdicionarRelatorio" runat="server" 
        Text="Adicionar relatório" onclick="ButtonAdicionarRelatorio_Click" 
        BackColor="#CCCCFF" Font-Bold="True" ForeColor="Gray" Height="30px" 
        Width="300px" BorderColor="#CC99FF" BorderStyle="Double" BorderWidth="3px" 
            Font-Names="Calibri" Font-Size="Medium" />
        <br />
        <asp:Label ID="LabelOK" runat="server" ForeColor="#00CC00"></asp:Label>
    <br />
    <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
    <br />
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:JardimEntitiesString %>" 
        ProviderName="<%$ ConnectionStrings:JardimEntitiesString.ProviderName %>" 
        SelectCommand="SELECT [CriancaId], [Nome] FROM [Crianca]">
    </asp:SqlDataSource>
    </div>
</asp:Content>
